Method and device for displaying a text message received over a voice call

ABSTRACT

A method and device are described for displaying a text message received over a voice call in a communication device. The method includes receiving the text message over an Session Initiation Protocol (SIP) session for the voice call, wherein the text message is received in at least one of an SIP INVITE request and an SIP INFO request. The method includes correlating, by the communication device, the text message with the voice call, based on call correlation information. The method further includes displaying, by the communication device, the text message on the communication device during the SIP session based on the correlation.

TECHNICAL FIELD

The present subject matter is related, in general, to Internet Protocol based voice calling, and more particularly, but not exclusively, to a method and device for displaying a text message received over a voice call.

BACKGROUND

Communication among individuals over telephone and mobile has increased tremendously over the past decade. A voice call may be initiated from a calling communication device and received by a called communication device. However, with the increase in incoming calls, which is the norm of the present times, a callee may receive multiple calls per day. The callee may not know how to prioritize receipt of the calls. In other words, the callee may not know the importance of a call when the call comes in as the callee has no context to the call before the callee actually answers the call. There may be situations for example, where a caller may be in an emergency and may place a call to the callee to ask for help. However, the callee may not prioritize this call because the callee may not know the reason for the caller calling and may assume a low priority for the call. In this situation, the callee may choose to ignore incoming voice calls from the caller. Thus, the callee is unaware of the importance of the incoming voice calls and may choose to ignore an important call without knowing the importance of the call.

Further limitations and disadvantages of conventional and traditional approaches will become apparent to one of skill in the art, through comparison of described systems with some aspects of the present disclosure, as set forth in the remainder of the present application and with reference to the drawings.

SUMMARY

According to embodiments illustrated herein, a method for displaying a text message over a voice call in a communication device is disclosed. The method may include, receiving, by the communication device, the text message over a Session Initiation Protocol (SIP) session for the voice call. The text message may be received in at least one of an SIP INVITE request and an SIP INFO request. The method may include, correlating, by the communication device, the text message with the voice call, based on call correlation information. The method may further include displaying, by the communication device, the text message during the SIP session based on the correlation.

According to embodiments illustrated herein, a communication device for displaying a text message over a voice call in a communication device is disclosed. The communication device may comprise a processor and a memory communicatively coupled to the processor. The memory may store instructions which may cause the processor to receive, the text message over a Session Initiation Protocol (SIP) session for the voice call. The text message may be received in at least one of an SIP INVITE request and an SIP INFO request. The memory may further store instructions to correlate the text message with the voice call, based on call correlation information. Further, the memory may store instructions to display the text message on the communication device during the SIP session based on the correlation.

According to embodiments illustrated herein, a non-transitory computer-readable storage medium having stored thereon, a set of computer-executable instructions for causing a computer comprising one or more processors to perform steps of receiving a text message over a Session Initiation Protocol (SIP) session for a voice call. The computer-executable instructions may include instructions to receive the text message in at least one of an SIP INVITE request and an SIP INFO request. The computer-executable instructions may also correlate the text message with the voice call, based on call correlation information. The computer-executable instructions may also include instructions to display the text message during the SIP session based on the correlation.

The foregoing summary is illustrative only and not intended to be limiting in any way. In addition to the illustrative aspects, embodiments, and features described above, further aspects, embodiments, and features will become apparent by reference to the drawings and the following detailed description.

BRIEF DESCRIPTION OF THE ACCOMPANYING DRAWINGS

The accompanying drawings, which are incorporated in and constitute a part of this disclosure, illustrate exemplary embodiments and, together with the description, serve to explain the disclosed principles. In the figures, the left-most digit(s) of a reference number identifies the figure in which the reference number first appears. The same numbers are used throughout the figures to reference like features and components. Some embodiments of device and/or system and/or methods in accordance with embodiments of the present subject matter are now described, by way of example only, and with reference to the accompanying figures.

FIG. 1 is a block diagram illustrating an example system environment in which various embodiments of the present disclosure may function.

FIG. 2 is a block diagram illustrating a communication device configured to receive a text message over a voice call in accordance with some embodiments of the present disclosure.

FIG. 3 illustrates an exemplary sequence diagram for receiving a text message over a voice call in accordance with some embodiments of the present disclosure.

FIG. 4 illustrates an exemplary sequence diagram for receiving a text message over a voice call in accordance with another embodiment of the present disclosure.

FIG. 5 is a flowchart illustrating a method of receiving a text message over a voice call in accordance with some embodiments of the present disclosure.

FIG. 6 is a block diagram illustrating an exemplary computer system for implementing embodiments consistent with the present disclosure.

It should be appreciated by those skilled in the art that any block diagrams herein represent conceptual views of illustrative systems or devices embodying the principles of the present subject matter. Similarly, it will be appreciated that any flow charts, flow diagrams, state transition diagrams, pseudo code, and the like represent various processes which may be substantially represented in computer readable medium and executed by a computer or processor, whether or not such computer or processor is explicitly shown.

DETAILED DESCRIPTION

The present disclosure may be best understood with reference to the detailed figures and description set forth herein. Various embodiments are discussed below with reference to the figures. However, those skilled in the art will readily appreciate that the detailed descriptions given herein with respect to the figures are simply for explanatory purposes as the methods, systems and devices may extend beyond the described embodiments. For example, the teachings presented and the needs of a particular application may yield multiple alternative and suitable approaches to implement the functionality of any detail described herein. Therefore, any approach may extend beyond the particular implementation choices in the following embodiments described and shown.

References to “one embodiment,” “at least one embodiment,” “an embodiment,” “one example,” “an example,” “for example,” and the like indicate that the embodiment(s) or example(s) may include a particular feature, structure, characteristic, property, element, or limitation but that not every embodiment or example necessarily includes that particular feature, structure, characteristic, property, element, or limitation. Further, repeated use of the phrase “in an embodiment” does not necessarily refer to the same embodiment.

FIG. 1 is a block diagram that illustrates an example environment 100 in which various embodiments of the method and the device may be implemented. The environment 100 may include a telephony application server 102, a communication network 104 having an SIP/IP core 106, one or more communication devices such as a calling device 108 also referred to as a calling communication device, and a called device 110 also referred to as a called communication device, used by users for communication over voice call. The telephony application server 102 may be communicatively coupled to the calling device 108 and called device 110 via the SIP/IP core network 106. In an embodiment, the calling device 108 may communicate with the called device 110 via the telephony application server 102 using a Session Initiation Protocol (SIP) via the SIP/IP core 106.

The telephony application server 102 may refer to a computing device or a software framework hosting an application or a software service. In some embodiments, the telephony application server 102 may be implemented to execute procedures such as, but not limited to, programs, routines, or scripts stored in one or more memories for supporting the hosted application or the software service. In an embodiment, the hosted application or the software service may be configured to perform one or more predetermined operations. The telephony application server 102 may be realized through various types of application servers such as, but are not limited to, a Java application server, a NET framework application server, a Base4 application server, a PHP framework application server, or any other application server framework.

In some embodiments, the telephony application server 102 may be a Multimedia Telephony Application Server (MMTel-AS). The MMTel-AS may refer to a computing device which may be a carrier class application server for voice and multimedia applications providing services for next generation mobile and fixed networks. The MMTel-AS may provide Internet Protocol based multimedia communications applications to end users. The MMTel-AS may support legacy telephony services as well as next generation services like multi-device applications, multi-media services over multiple accesses like mobile 2G, 3G, 4G, Wi-Fi and fixed accesses. The MMTel-AS may include several Application Server (AS) roles to support consumer as well as enterprise voice and multimedia services. In an embodiment, the MMTel-AS follows the 3GPP/NGN IP Multimedia Subsystem (IMS) multimedia telephony service (MMTel) standard. In some instances, the telephony application server 102 may be referred to as MMTel-AS for the purpose of explanation, as example only, and is not to be considered as limiting the scope of the invention.

In some embodiments, the called device 110 may refer to a communication device used by a callee. The called device 110 may comprise one or more processors and one or more memories. The one or more memories may include computer readable instructions that are executable by the one or more processors to perform predetermined operations. In an embodiment, the called device 110 may include a user-interface. The user-interface may be provided to the user to display a text message received over a voice call during incoming call alert. The calling device 108 may refer to a communication device used by a caller. The calling device 108 and the called device 110 may include, but are not limited to, a personal computer, a laptop, a personal digital assistant (PDA), a mobile device, a tablet, a soft phone or any other computing device.

The calling device 108 and the called device 110 may run SIP client software (i.e., SIP user agent), which enables the calling device 108 and the called device 110 to engage in multimedia (voice, video, data, etc.) communications over Internet Protocol based networks. For purposes of participating in such communications, the calling device 108 and the called device 110 may be equipped with, for example, a headset and web camera. The functionality of the called device 110 is further explained in conjunction with FIG. 2.

In an embodiment, the communication network 104 may correspond to a communication medium through which the telephony application server 102, the calling device 108 and the called device 110 may communicate with each other. Such communication may be performed, in accordance with various wired and wireless communication protocols. Examples of such wired and wireless communication protocols include, but are not limited to, Transmission Control Protocol and Internet Protocol (TCP/IP), User Datagram Protocol (UDP), Hypertext Transfer Protocol (HTTP), File Transfer Protocol (FTP), ZigBee, EDGE, infrared (IR), IEEE 802.11, 802.16, 2G, 3G, 4G cellular communication protocols, and/or Bluetooth (BT) communication protocols. The communication network 104 may include, but is not limited to, the Internet, a cloud network, a Wireless Fidelity (Wi-Fi) network, a Wireless Local Area Network (WLAN), a Local Area Network (LAN), a telephone line (POTS), and/or a Metropolitan Area Network (MAN).

The SIP/IP core 106 may include a number of SIP (Session Initiation Protocol) proxies and SIP registrars as defined in the SIP standard. The SIP/IP core 106 may perform a number of functions to support establishing real time text message session over the voice call. The SIP/IP core 106 may perform routing of an SIP signaling and address resolution services. The SIP/IP core 106 may further perform authentication and authorization of the user at an end device such as the calling device 108 and the called device 110, based on the user's service subscription. The SIP/IP core 106 may provide and maintain registration of the end devices and their associated User Addresses. The SIP/IP core 106 may further maintain unique identifiers for the end devices. The SIP/IP core 106 may provide list of registered devices and their capabilities.

FIG. 2, is a block diagram illustrating a communication device configured to receive a text message over a voice call in accordance with some embodiments of the present disclosure. The communication device illustrated herein is the called communication device such as the called device 110, configured to receive a text message over the voice call. The called device 110 comprises a processor 202, a memory 204, a transceiver 206, an user interface module 208, a recipient client 210, a call handling client 212 and an input/output (I/O) unit 214. The recipient client 210 may include a call reason monitor 210 a. The processor 202 may be communicatively coupled to the memory 204, the transceiver 206, the user interface module 208, recipient client 210, the call handling client 212 and the input/output unit 214.

The processor 202 comprises suitable logic, circuitry, and interfaces that may be configured to execute a set of instructions stored in the memory 204. The processor 202 may be implemented based on a number of processor technologies known in the art. Examples of the processor 202 include, but not limited to, an X86-based processor, a Reduced Instruction Set Computing (RISC) processor, an Application-Specific Integrated Circuit (ASIC) processor, a Complex Instruction Set Computing (CISC) processor, and/or other processor.

The memory 204 comprises suitable logic, circuitry, interfaces, and/or code that may be configured to store the set of instructions, which may be executed by the processor 202. In an embodiment, the memory 204 may be configured to store one or more programs, routines, or scripts that may be executed in coordination with the processor 202. The memory 204 may be implemented based on a Random Access Memory (RAM), a Read-Only Memory (ROM), a Hard Disk Drive (HDD), a storage server, and/or a Secure Digital (SD) card.

The transceiver 206 comprises suitable logic, circuitry, and interfaces that may be configured to retrieve a set of operations associated with the called communication device to receive a text message in the voice call, via the communication network 104. The transceiver 206 may receive the text message in the SIP INVITE request. The transceiver 206 may also receive the text message in an SIP INFO request. The transceiver 206 may implement one or more known technologies to support wired or wireless communication with the communication network. In an embodiment, the transceiver 206 may include, but is not limited to, an antenna, a radio frequency (RF) transceiver, one or more amplifiers, a tuner, one or more oscillators, a digital signal processor, a Universal Serial Bus (USB) device, a coder-decoder (CODEC) chipset, a subscriber identity module (SIM) card, and/or a local buffer. The transceiver 206 may communicate via wireless communication with networks, such as the Internet, an Intranet and/or a wireless network, such as a cellular telephone network, a wireless local area network (LAN) and/or a metropolitan area network (MAN). The wireless communication may use any of a plurality of communication standards, protocols and technologies, such as Global System for Mobile Communications (GSM), Enhanced Data GSM Environment (EDGE), wideband code division multiple access (W-CDMA), code division multiple access (CDMA), time division multiple access (TDMA), Bluetooth, Wireless Fidelity (Wi-Fi) (e.g., IEEE 802.11a, IEEE 802.11b, IEEE 802.11g and/or IEEE 802.11n), voice over Internet Protocol (VoIP), Wi-MAX, a protocol for email, instant messaging, and/or Short Text message Service (SMS).

The user interface module 208 comprises suitable logic, circuitry, interfaces, and/or code that may be configured to provide the necessary user interfaces for the clients to provide various input options to a user of the called device 110. In some embodiments, user interface module 208 may provide a platform on the called device 110, to enable the receipt of the text message during the SIP session for the voice call. Initiation of a voice call is done when an SIP session is initiated. In some other embodiments, the user interface module 208 may enable the receipt of the text message during call ringing for the voice call. The call ringing refers to the time period during which the calling device 108 receives a “180” (ringing) response from a called communication device such as the called device 110. As per Internet Engineering Task Force (IETF) standard a “180” (Ringing) response would indicate that a called communication device is being notified of the incoming call.

The recipient client 210 comprises suitable logic, circuitry, interfaces, and/or code that may be configured to receive a text message during the incoming voice call. The recipient client 210 may include a call reason monitor 210 a which may analyze the text message and determine a call priority before displaying it on the called device 110 during the call ringing. The recipient client 210 may receive the text message over an incoming voice call session during call ringing. In an embodiment, the recipient client 210 may associate and store the text message in the memory 204 for unanswered calls in order to generate alert to the callee with a popup notification of the text message for a pre-configured time duration. The call reason monitor 210 a may analyze the message received by the recipient client 210 to determine the call priority. The call priority may be determined based on at least one of Natural Language Processing of the text message and identity of the caller. The call reason monitor 210 a in the recipient client 210 module may perform text mining of the messages received during the incoming call using Natural Language Processing (NLP) and analytical methods based on factors such as information extraction, pattern recognition, sentiment analysis, pre-defined keywords stored in any client module and the like.

In an example, a call may be considered to be of high priority based on pre-defined keywords. NLP analysis on the text message may determine presence of words such as “very urgent”, “immediate”, “accident”, “hospitalized”, “ambulance” and the like and assign a high call priority to calls that are accompanied by text messages having these keywords. On the other hand, words like “price”, “buy”, “sell” and the like in the text message may result in assigning a low priority to the call. Words like “price”, “buy”, “sell” and the like may generally be associated with spam text messages or advertisements and hence a call accompanied with a text message having these words can be inferred to be of low priority. The priority of the call may also be set based on pattern recognition. In an example, if the caller is in the frequent caller list and callee is constantly rejecting the call over a predetermined period of time then the call may have a low priority and a text message may not be displayed during call ringing until the callee further makes a contact to the caller. Further, the call priority may be determined based on the whether the identity of the caller is known or unknown. For example, the identity of the caller may be determined to be “known” if the caller's number is saved in the contacts of the callee or else may be considered “unknown”. The priority of the call may also be determined by factors including whether the caller is saved as a “favorite” in the callee's phone book.

On determining the call priority from the text message accompanying the call, the recipient client 210 may display the text message to the callee based on the call priority. For example, the priority of a voice call may be determined to be “high” by analyzing the associated text message. When the priority of the call is determined to be “high”, the text message may be displayed during call ringing at the called device 110. The text message in this case may be stored in the memory 204 of the called device 110 irrespective of whether the call has been answered by the callee or not. On the other hand, the priority of the voice call may be determined to be “low” on analysis of the text message. There may be no display of the text message during call ringing in such a scenario and the text message may not be stored in the called device 110 for further notification irrespective of whether the call has been answered by the callee or not. In case the analysis of the text message determines the call priority to be “medium”, there may be display of the text message during the call ringing for the voice call. However, for a call priority determined to be “medium” the text message may be stored in the memory 204, only for an unanswered call, to alert the callee later. As may be apparent to a person of ordinary skill in the art, there may be multiple variations of the utility of determining a call priority from the text message received over the voice call and the examples provided above is not limiting to the scope of the invention.

The call handling client 212 also referred to as multimedia telephony service (MMTel) Client may be configured to handle call setup and establishment between a initiator client associated with the calling device 108 and the recipient client 210 associated with the called device 110. The initiator client associated with the calling device 108 may determine whether the called device 110 is capable of receiving and interpreting the text message during the voice call. The initiator client of the calling device 108 may be capable of placing a request for the voice call with a text message to the recipient client 210. The call handling client 212 in the called device 110 may receive the SIP session for the voice call. In some embodiments, the call handling client 212 may be configured to receive the SIP INVITE request with a call-reason feature tag. The call-reason feature tag in the SIP signaling messages such as SIP INVITE, SIP OPTIONS and the like, for a voice call indicates the association of a text message with the SIP session for the voice call as explained later in this specification with reference to FIG. 3. In some other embodiments, the call handling client 212 may be configured to receive the SIP INFO request with the text message.

The Input/Output (I/O) unit 214 comprises suitable logic, circuitry, and interfaces that may be configured to receive an input or provide an output. The input/output unit 214 comprises various input and output devices that are configured to communicate with the processor 202. Examples of the input devices include, but are not limited to, a keyboard, a mouse, a joystick, a touch screen, a microphone, and/or a docking station. Examples of the output devices include, but are not limited to, a display screen and/or a speaker. In an embodiment, the I/O unit 214 may work in conjunction with the user interface module 208 to provide the user an interface to the user for providing inputs and to receive outputs.

The interactions between the client modules such as the initiator client associated with the calling device 108, the recipient client 210 associated with called device 110 and the call handling client 212 may be performed by a CR-1 interface. The CR-1 interface may support a functionality of determining the capabilities of the devices for adding and displaying a message during the voice call. The CR-1 interface may support initiating a message in-band over the voice call between the communication devices such as calling device 108 and called device 110. The CR-1 interface may support establishing the SIP session which includes initiation, modification and termination of the voice call between the communication devices. The CR-1 interface may support delivery of the voice call, text messages over the voice call, alert notifications and the call correlation information. The CR-1 interface may support analyzing and displaying of incoming messages over the voice call session. The CR-1 interface may support storing the text messages for unanswered calls. The CR-1 interface may support generating alert notifications to the called device 110 for a popup notification of a text message for the pre-configured time duration. The CR-1 interface may support control of messages in the established voice call.

FIG. 3 illustrates an exemplary sequence diagram for receiving a text message over a voice call in accordance with some embodiments consistent with the present disclosure. The called device 110 may be presented an option by the user interface module 208 to enable a call-reason feature option on a called communication device such as the called device 110. The call-reason feature may refer to a feature wherein the reason of the call may be received by the called device 110 over the voice call. Alternatively, the call-reason feature may refer to a feature wherein the reason of the call may be communicated by the calling device 108 to the called device 110 in the form of a text message. The text message may be displayed at the called device 110 during call ringing or incoming call alert. Upon enabling the call-reason feature option the recipient client 210 may enable a media pipeline for reception of both voice and the text message in the SIP session for the voice call when the voice call is setup from the initiator client of the calling device 108 to a recipient client 210 of the called device 110.

To support the reception of text message during the voice call, the initiator client of the calling device 108 and the recipient client 210 may exchange signaling messages which may include SIP requests and SIP responses. In some embodiments, the recipient client 210 may receive a Session Initiator Protocol (SIP) OPTIONS message from the calling device 108 through a Multimedia Telephony Application Server (MMTel-AS). The SIP OPTIONS may include a call-reason feature tag indicating the text message to be sent in the SIP session for the voice call. The Multimedia Telephony Application Server sends the SIP OPTIONS message to the recipient client 210 of the called device 110. If the recipient client 210 of the called device 110 supports text messages over the voice call, then the recipient client 210 may send a “200” (OK) response message to the Multimedia Telephony Application Server. Here, a “200” (OK) is an SIP response code indicating that a request made has succeeded. Further, the Multimedia Telephony Application Server forwards the “200” (OK) response to the initiator client of the calling device 108. The initiator client of the calling device 108 discovers the support of text messages over the voice call setup when the “200” (OK) response is received from the recipient client 210 associated with the called device 110.

A caller may transmit the text message by initially composing the text message to be transmitted. The caller may create the text message to be transmitted over the voice call in the calling device 108 by means of an user interface. Thereafter, at step 301, the initiator client associated with the calling device 108 may insert the text message in a SIP INVITE request. The initiator client may insert the text message in a Session Description Protocol (SDP) body of the SIP INVITE request. Further, a call-reason tag may be added by the initiator client in a subject field of the SIP INVITE request header indicating the insertion of a text message in the SIP session for a called device 110. The call-reason feature tag in the subject field of a SIP INVITE request may indicate a text message to be sent in the SIP session for the voice call. The recipient client 210 may identify the call-reason tag and subsequently read the text message associated with the tag to determine the call-reason and display the text message to the callee. In an embodiment, the presence of the call-reason tag may enable the reading of the text message associated with the SIP INVITE request by the recipient client 210. The call-reason feature tag may further enable the recipient client to read the call correlation information from the SIP INVITE request. In another embodiment, the presence of the call-reason tag may enable recipient client 210 to read the text message associated with the SIP INFO request. The call-reason feature tag may further enable the recipient client to read the call correlation information from the SIP INFO request.

The initiator client may send the SIP INVITE request to the called device 110 with media pipeline “m=audio” and audio attribute “a=sendreceive”, and “subject=reason for call” for establishing the voice call with the text message. The initiator client may also provide call correlation information (“<call-correlation-info>”) along with the SIP INVITE request. The <call-correlation-info>” may be sent in the SIP INVITE request along with the text message to the called device 110. The call correlation information may be used by the recipient client 210 to correlate the voice calls with the text message such that the called device 110 identifies that the text message is associated with the voice call and appropriately displays the text message during the call ringing at the called device 110. The call correlation information may be inserted by the initiator client in the SIP INVITE request while establishing the voice call (SIP session) with the called device 110.

At step 302, the SIP INVITE request containing the text message and the call correlation information is received by MMTel-AS. A call handling client on the called device 110 may then receive the voice call on the called device 110 at step 303. The call may be received by initially establishing a connection with the MMTel-AS. The MMTel-AS supports legacy telephony services as well as next generation services like multi-device applications, multi-media services over multiple accesses like mobile 2G, 3G, 4G, Wi-Fi and fixed accesses. The MMTel-AS thereafter establishes a connection with the called device 110 at step 304 and transmits the SIP INVITE request to the called device 110. The called device 110 receives the SIP INVITE request and provides a notification of the incoming call. Given below is an example of a SIP INVITE request that may be received by the called device 110 when the text message is inserted by the caller at the first instance of initiation of the voice call:

Header:

Subject: Call-Reason

SDP:

m=audio 1024 RTP/AVP 0

a=rtpmap:0 PCMU/8000 sendreceive

<Call Correlation Info>

From: Caller

To: Callee

Message: “Grandpa hospitalized, pick-up”

<Call Correlation Info>

The call correlation information i.e. <call-correlation-info> is an element which is used to associate the voice call with the text message by the recipient client 210. The call correlation information may include a unique identifier of the calling communication device, in this case the calling device 108, a unique identifier of the called communication device, in this case the called device 110 and a unique identifier for identifying a Packet Switched (PS) call transaction. For example, the format of the call correlation information may include a <from> element, which is the unique identifier of the calling device 108. The unique identifier may be either a Mobile Station International Subscriber Directory Number (MSISDN) or SIP Uniform Resource Identifier (URI). The call correlation information may further include a <to> element, which represents the unique identifier of the called device 110. The unique identifier of the called device 110 may be either MSISDN or SIP URI. Additionally, the call correlation information may include a <call-seq> element, which is the unique identifier for identifying a Packet Switched (PS) call transaction. The call correlation information may also include a <subject> element, which may contain the information (reason) about the call, which may be the text message.

The called device 110 thus receives an incoming call alert with the text message. The called device 110 in this case may correlate and display the text message along with the incoming call alert based on the call correlation information. The user of the called device 110 may accept or reject the call based on the message associated with the call.

FIG. 4 illustrates an exemplary sequence diagram for receiving a text message over a voice call in accordance with some embodiments of the present disclosure. The sequence diagram of FIG. 4 illustrates receiving the text message by the called device 110 at run time during the call ringing. At step 401, a voice call may be initiated between a calling communication device such as the calling device 108 and a called communication device such as the called device 110. In the exemplary sequence diagram the calling device 103 initiates a SIP session by sending a SIP INVITE request to the called device 110. In an example, the initiator client of the calling device 108 sends a SIP INVITE request to the recipient client 210 of the called device 110 with media pipeline “m=audio” and audio attribute “a=sendreceive”, and a SIP INFO package with Recv-Info having a SIP INFO package name for example “X”.

At 402, the called device 110 may receive an incoming call alert with the SIP INVITE request from the calling device 108 via the MMTel-AS. Following example shows a SIP INVITE received by a called device 110 when the caller initiated a voice call but has not yet entered any text message for call reason.

SIP INVITE

-   -   SDP:     -   m=audio 1024 RTP/AVP 0     -   a=rtpmap: 0 PCMU/8000 sendreceive     -   Recv-Info: X (package name)

Upon receiving the SIP INVITE request for the voice call, the call handling client 212 associated with the called device 110 may send a “180” (ringing) response to the Multimedia Telephony Application Server at step 403. The “180” (ringing) response indicates that the recipient client 210 has received the SIP INVITE, and is alerting the callee to a call. The “180” (ringing) response may be routed to the calling device 108 via the MMTel-AS. At step 404, the calling device 108 receives the “180” (ringing) response.

Thereafter, at step 405, the initiator client of the calling device 108 may include a text message provided by the caller for the voice call. In an example, the caller may insert the text message when the called device 110 receives the “180” (ringing) response. For the purpose of sending the text message during ongoing voice call session. The text message may be inserted in the body of the SIP INFO request for display at the called device 110 during the call ringing. For example, the caller may insert a text message saying, for example, “Grandpa hospitalized, pick up” if a callee does not answer the call even after a few call rings. The initiator client of the calling device 108 may insert the text message in the body of SIP INFO package. The initiator client of the calling device 108 may insert the call correlation information in the body of the SIP INFO request. Given below is an example of a SIP INFO request when a text message is inserted by the caller after a few call rings or during a “180” (ringing) response from the called device 110:

SIP INFO

Info-Package: X (Package Name)

<Call Correlation Info>

From: Caller

To: Callee

Message: “Grandpa hospitalized, pick-up”

Further, at step 406, the calling device 108 may pass on the SIP INFO request containing the text message and the call correlation information to the MMTel-AS. At step 407, the MMTel-AS forwards the SIP INFO request to the called device 110. The called device 110 may receive the SIP INFO request with the text message. In an example, the recipient client 210 of the called device 110 receives the text message during the incoming call alert. The called device 110 may display the text message during the ongoing incoming call alert based on the call correlation information. The call is established at step 408 when the user of the called device 110 answers the call.

In some embodiments, the recipient client 210 associated with the called device 110 may check if a call corresponding to the elements of the call correlation information (<call-correlation-info>) is found. If the call correlation information is found, then the recipient client 210 checks the associated text message for the call and displays the text message during the incoming call alert. In some embodiments, the recipient client 210 may further analyze the text message and determine a call priority before the text message is displayed. For example, the text message may be displayed if the caller is a known contact, if the caller is saved as a “favorite” contact on the called device 110, or if the caller is available in the recipient's frequent caller list. The call priority may further be based on text mining of the text messages received during the incoming call using Natural Language Processing (NLP) and analytical methods based on the factors like information extraction, sentiment analysis and pre-defined keywords which is known to a person of ordinary skill in the art. On viewing the text message associated with incoming call alert, the recipient may accept the incoming call and the call is established at step 408. In some embodiments, the recipient client 210 upon receiving a text message over the voice call may store the text message in a call log associated with the called device 110 for unanswered calls and rejected calls. The recipient client 210 may further be configured to generate an alert to the user with a popup notification of the text message for a pre-configured time duration.

FIG. 5 is a flowchart illustrating a method 500 for receiving a text message over a voice call in accordance with some embodiments of the present disclosure. At step 502, the method includes receiving a Session Initiation Protocol (SIP) session for a voice call. The SIP session may include at least one of a SIP INVITE request and a SIP INFO request. The text message may be received in at least one of a SIP INVITE request and a SIP INFO request. In some embodiments, the text message may be received in the Session Description Protocol (SDP) body of the SIP INVITE request at the start of the voice call. In some embodiments, the text message may be received at a later time of the voice call initiation, in the body of the SIP INFO request. The text message may be received in body of the SIP INFO request during the time when the called communication device sends a “180” (ringing) response to the called communication device. In an embodiment, the SDP body of the SIP INVITE may be a Multi-purpose Internet Mail Extension (MIME) Session Description Protocol (SDP) body. In some embodiments, a call-reason feature tag may be received in the SIP INVITE request.

At step 504, the text message may be correlated with the voice call, based on the call correlation information. The call correlation information may be present in the SIP INVITE request when the text message is present in the SIP INVITE request. Alternatively, the call correlation information may be present in the SIP INFO request when the text message is present in the SIP INFO request. In some embodiments, receiving at least one of the text message and the call correlation information in the SIP INVITE request may include receiving a call-reason feature tag in a subject field of a SIP INVITE request header indicating the insertion of the text message for the voice call to the called communication device. For example, when the text message is inserted in the SIP INVITE request by the calling communication device, a call-reason feature tag may also be inserted in the subject field of the SIP INVITE request header. The call-reason feature tag enables the called communication device like the called device 110 to identify that the SIP session is associated with the text message as has been explained earlier with reference to FIG. 3

In an embodiment, the call correlation information may be read by the recipient client 210 from the SDP body of the SIP INVITE request. In another embodiment, the call correlation information may be read by the recipient client 210 from the body of the SIP INFO request by the recipient client 210. The call correlation information may include at least one of an unique identifier of the calling communication device, an unique identifier of the called communication device, an unique identifier for identifying a Packet Switched (PS) call transaction, or the text message. In an embodiment, an SIP INFO package name and the call correlation information may be received in the Session Description Protocol (SDP) body of SIP INVITE request when the text message is not inserted in the body of the SIP INVITE request for the SIP session. In another embodiment, the text message and the call correlation information may be received in the body of the SIP INFO request when an user of the calling communication device provides the text message during receipt of a “180” (ringing) response from the called communication device.

At step 506, the text message may be displayed on the called communication device during the SIP session based on the correlation. In some embodiments, the text message may be displayed on the called communication device based on a call priority. The call priority may be determined based on at least one of Natural Language Processing of the text message and caller identification by the called communication device. In some embodiments, the text message may be stored based on call priority determined from the text message.

Computer System

FIG. 6 illustrates a block diagram of an exemplary computer system for implementing embodiments consistent with the present disclosure. Variations of computer system 601 may be used for receiving a text message over a voice call. The computer system 601 may comprise a central processing unit (“CPU” or “processor”) 602. The processor 602 may comprise at least one data processor for executing program components for executing user-generated or system-generated requests. A user may include a person, a person using a device such as those included in this disclosure, or such a device itself. The processor 602 may include specialized processing units such as integrated system (bus) controllers, memory management control units, floating point units, graphics processing units, digital signal processing units, etc. The processor may include a microprocessor, such as AMD Athlon, Duron or Opteron, ARM's application, embedded or secure processors, IBM PowerPC, Intel's Core, Itanium, Xeon, Celeron or other line of processors, etc. The processor 602 may be implemented using mainframe, distributed processor, multi-core, parallel, grid, or other architectures. Some embodiments may utilize embedded technologies like application-specific integrated circuits (ASICs), digital signal processors (DSPs), Field Programmable Gate Arrays (FPGAs), etc.

The processor 602 may be disposed in communication with one or more input/output (I/O) devices via I/O interface 603. The I/O interface 603 may employ communication protocols/methods such as, without limitation, audio, analog, digital, monoaural, RCA, stereo, IEEE-1394, serial bus, universal serial bus (USB), infrared, PS/2, BNC, coaxial, component, composite, digital visual interface (DVI), high-definition multimedia interface (HDMI), RF antennas, S-Video, VGA, IEEE 802.n/b/g/n/x, Bluetooth, cellular (e.g., code-division multiple access (CDMA), high-speed packet access (HSPA+), global system for mobile communications (GSM), long-term evolution (LTE), WiMax, or the like), etc.

Using the I/O interface 603, the computer system 601 may communicate with one or more I/O devices. For example, the input device 604 may be an antenna, keyboard, mouse, joystick, (infrared) remote control, camera, card reader, fax machine, dongle, biometric reader, microphone, touch screen, touchpad, trackball, sensor (e.g., accelerometer, light sensor, GPS, gyroscope, proximity sensor, or the like), stylus, scanner, storage device, transceiver, video device/source, visors, etc. Output device 605 may be a printer, fax machine, video display (e.g., cathode ray tube (CRT), liquid crystal display (LCD), light-emitting diode (LED), plasma, or the like), audio speaker, etc. In some embodiments, a transceiver 606 may be disposed in connection with the processor 602. The transceiver may facilitate various types of wireless transmission or reception. For example, the transceiver may include an antenna operatively connected to a transceiver chip (e.g., Texas Instruments WiLink WL1283, Broadcom BCM4750IUB8, Infineon Technologies X-Gold 618-PMB9800, or the like), providing IEEE 802.11a/b/g/n, Bluetooth, FM, global positioning system (GPS), 2G/3G HSDPA/HSUPA communications, etc.

In some embodiments, the processor 602 may be disposed in communication with a communication network 608 via a network interface 607. The network interface 607 may communicate with the communication network 608. The network interface 607 may employ connection protocols including, without limitation, direct connect, Ethernet (e.g., twisted pair 10/100/1000 Base T), transmission control protocol/internet protocol (TCP/IP), token ring, IEEE 802.11a/b/g/n/x, etc. The communication network 608 may include, without limitation, a direct interconnection, local area network (LAN), wide area network (WAN), wireless network (e.g., using Wireless Application Protocol), the Internet, etc. Using the network interface 607 and the communication network 608, the computer system 601 may communicate with devices 610, 611, and 612. These devices may include, without limitation, personal computer(s), server(s), fax machines, printers, scanners, various mobile devices such as cellular telephones, smartphones (e.g., Apple iPhone, Blackberry, Android-based phones, etc.), tablet computers, eBook readers (Amazon Kindle, Nook, etc.), laptop computers, notebooks, gaming consoles (Microsoft Xbox, Nintendo DS, Sony PlayStation, etc.), or the like. In some embodiments, the computer system 601 may itself embody one or more of these devices.

In some embodiments, the processor 602 may be disposed in communication with one or more memory devices referred in the FIG. 6 as Memory 615 (e.g., RAM 613, ROM 614, etc.) via a storage interface 612. The storage interface 802 may connect to memory devices including, without limitation, memory drives, removable disc drives, etc., employing connection protocols such as serial advanced technology attachment (SATA), integrated drive electronics (IDE), IEEE-1394, universal serial bus (USB), fiber channel, small computer systems interface (SCSI), etc. The memory drives may further include a drum, magnetic disc drive, magneto-optical drive, optical drive, redundant array of independent discs (RAID), solid-state memory devices, solid-state drives, etc.

The memory devices may store a collection of program or database components, including, without limitation, an operating system 616, user interface application 617, web browser 618, mail server 619, mail client 620, user/application data 621 (e.g., any data variables or data records discussed in this disclosure), etc. The operating system 616 may facilitate resource management and operation of the computer system 601. Examples of operating systems include, without limitation, Apple Macintosh OS X, UNIX, Unix-like system distributions (e.g., Berkeley Software Distribution (BSD), FreeBSD, NetBSD, OpenBSD, etc.), Linux distributions (e.g., Red Hat, Ubuntu, Kubuntu, etc.), IBM OS/2, Microsoft Windows (XP, Vista/7/8, etc.), Apple iOS, Google Android, Blackberry OS, or the like. User interface 617 may facilitate display, execution, interaction, manipulation, or operation of program components through textual or graphical facilities. For example, user interfaces may provide computer interaction interface elements on a display system operatively connected to the computer system 601, such as cursors, icons, check boxes, menus, scrollers, windows, widgets, etc. Graphical user interfaces (GUIs) may be employed, including, without limitation, Apple Macintosh operating systems' Aqua, IBM OS/2, Microsoft Windows (e.g., Aero, Metro, etc.), Unix X-Windows, web interface libraries (e.g., ActiveX, Java, Javascript, AJAX, HTML, Adobe Flash, etc.), or the like.

In some embodiments, the computer system 601 may implement a web browser 618 stored program component. The web browser 618 may be a hypertext viewing application, such as Microsoft Internet Explorer, Google Chrome, Mozilla Firefox, Apple Safari, etc. Secure web browsing may be provided using HTTPS (secure hypertext transport protocol), secure sockets layer (SSL), Transport Layer Security (TLS), etc. Web browsers may utilize facilities such as AJAX, DHTML, Adobe Flash, JavaScript, Java, application programming interfaces (APIs), etc. In some embodiments, the computer system 601 may implement a mail server 619 stored program component. The mail server 619 may be an Internet mail server such as Microsoft Exchange, or the like. The mail server may utilize facilities such as ASP, ActiveX, ANSI C++/C#, Microsoft .NET, CCI scripts, Java, JavaScript, PERL, PHP, Python, WebObjects, etc. The mail server 619 may utilize communication protocols such as internet text message access protocol (IMAP), messaging application programming interface (MAPI), Microsoft Exchange, post office protocol (POP), simple mail transfer protocol (SMTP), or the like. In some embodiments, the computer system 601 may implement a mail client 620 stored program component. The mail client 620 may be a mail viewing application, such as Apple Mail, Microsoft Entourage, Microsoft Outlook, Mozilla Thunderbird, etc.

In some embodiments, computer system 601 may store user/application data 621, such as the data, variables, records, etc. as described in this disclosure. Such databases may be implemented as fault-tolerant, relational, scalable, secure databases such as Oracle or Sybase. Alternatively, such databases may be implemented using standardized data structures, such as an array, hash, linked list, structured text file (e.g., XML), table, or as object-oriented databases (e.g., using ObjectStore, Poet, Zope, etc.). Such databases may be consolidated or distributed, sometimes among the various computer systems discussed above in this disclosure. It is to be understood that the structure and operation of the any computer or database component may be combined, consolidated, or distributed in any working combination.

The specification has described methods and devices for displaying a text message received over a voice call. The illustrated steps are set out to explain the exemplary embodiments shown, and it should be anticipated that ongoing technological development will change the manner in which particular functions are performed. These examples presented herein are for purposes of illustration, and not limitation. Further, the boundaries of the functional building blocks have been arbitrarily defined herein for the convenience of the description. Alternative boundaries can be defined so long as the specified functions and relationships thereof are appropriately performed. Alternatives (including equivalents, extensions, variations, deviations, etc., of those described herein) will be apparent to persons skilled in the relevant art(s) based on the teachings contained herein. Such alternatives fall within the scope and spirit of the disclosed embodiments

Furthermore, one or more computer-readable storage media may be utilized in implementing embodiments consistent with the present invention. A computer-readable storage medium refers to any type of physical memory on which information or data readable by a processor may be stored. Thus, a computer-readable storage medium may store instructions for execution by one or more processors, including instructions for causing the processor(s) to perform steps or stages consistent with the embodiments described herein. The term “computer-readable medium” should be understood to include tangible items and exclude carrier waves and transient signals, i.e., non-transitory. Examples include Random Access Memory (RAM), Read-Only Memory (ROM), volatile memory, nonvolatile memory, hard drives, Compact Disc (CD) ROMs, Digital Video Disc (DVDs), flash drives, disks, and any other known physical storage media.

The present invention is based on Internet Protocol (IP) telephony, Most of these advantages flow from the fact that IP telephony is packet-based, rather than circuit-based, like the present phone system. This allows for a more efficient use of resources since one can use the same higher-layer protocol in a wide range of devices, from cell and desktop telephones to TVs, stereos, and computers. The layered protocols in IP telephony are capable of operating independently of one another.

The terms “an embodiment”, “embodiment”, “embodiments”, “the embodiment”, “the embodiments”, “one or more embodiments”, “some embodiments”, and “one embodiment” mean “one or more (but not all) embodiments of the invention(s)” unless expressly specified otherwise. The terms “including”, “comprising”, “having” and variations thereof mean “including but not limited to”, unless expressly specified otherwise. The terms “a”, “an” and “the” mean “one or more”, unless expressly specified otherwise.

A description of an embodiment with several components in communication with each other does not imply that all such components are required. On the contrary a variety of optional components are described to illustrate the wide variety of possible embodiments of the invention.

The language used in the specification has been principally selected for readability and instructional purposes, and it may not have been selected to delineate or circumscribe the inventive subject matter. It is therefore intended that the scope of the invention be limited not by, this detailed description, but rather by any claims that issue on an application based here on. Accordingly, the embodiments of the present invention are intended to be illustrative, but not limiting, of the scope of the invention, which is set forth in the following claims.

While various aspects and embodiments have been disclosed herein, other aspects and embodiments will be apparent to those skilled in the art. The various aspects and embodiments disclosed herein are for purposes of illustration and are not intended to be limiting, with the true scope and spirit being indicated by the following claims.

The present disclosure may be realized in hardware, or a combination of hardware and software. The present disclosure may be realized in a centralized fashion, in at least one computer system, or in a distributed fashion, where different elements may be spread across several interconnected computer systems. A computer system or other apparatus adapted for carrying out the methods described herein may be suited. A combination of hardware and software may be a general-purpose computer system with a computer program that, when loaded and executed, may control the computer system such that it carries out the methods described herein. The present disclosure may be realized in hardware that comprises a portion of an integrated circuit that also performs other functions.

A person with ordinary skills in the art will appreciate that the devices, systems, modules, and sub-modules have been illustrated and explained to serve as examples and should not be considered limiting in any manner, it will be further appreciated that the variants of the above disclosed device elements, system elements, modules, and other features and functions, or alternatives thereof, may be combined to create other different devices, systems or applications.

Those skilled in the art will appreciate that any of the aforementioned steps, device modules and/or system modules may be suitably replaced, reordered, or removed, and additional steps, device modules and/or system modules may be inserted, depending on the needs of a particular application. In addition, the system or devices of the aforementioned embodiments may be implemented using a wide variety of suitable processes and system modules, and are not limited to any particular computer hardware, software, middleware, firmware, microcode, and the like. The claims can encompass embodiments for hardware and software, or a combination thereof.

While the present disclosure has been described with reference to certain embodiments, it will be understood by those skilled in the art that various changes may be made and equivalents may be substituted without departing from the scope of the present disclosure. In addition, many modifications may be made to adapt a particular situation or material to the teachings of the present disclosure without departing from its scope. Therefore, it is intended that the present disclosure not be limited to the particular embodiment disclosed, but that the present disclosure will include all embodiments falling within the scope of the appended claims. 

I claim:
 1. A method of displaying a text message, the method comprising: receiving, by a called communication device, the text message and call correlation information over a Session Initiation Protocol (SIP) session for a voice call during call ringing of the voice call, wherein the text message and the call correlation information are received in a SIP INFO request when a callee associated with the called communication device does not answer the voice call after a predefined number of call rings, wherein the text message indicates a reason about the voice al; and wherein the call correlation information is used to associate the text message with the voice call; performing, by the called communication device, text mining of the text message received during the voice call using Natural Language Processing (NLP) techniques based on ore-defined keyword; determining, by the called communication device, a call priority of the voice call based on text mining of the text message received from the calling communication device, during call ringing for the voice call; and displaying, by the called communication device, the text message along with a call ringing notification of the voice call during the SIP session based on the call priority of the voice call and the call correlation information.
 2. The method as claimed in claim 1, wherein the SIP INFO request comprises a call-reason feature tag.
 3. The method as claimed in claim 1, wherein the text message is received in a Session Description Protocol (SDP) body of a SIP INFO request body.
 4. The method as claimed in claim 1 further comprising storing the text message in the communication device.
 5. The method as claimed in claim 1, wherein the Call Correlation Information further comprises one of: an unique identifier of a calling communication device, an unique identifier of a called communication device, and an unique identifier for identifying a Packet Switched (PS) call transaction or the text message.
 6. The method as claimed in claim 1, wherein perform text mining of the text messages received during the incoming call using Natural Language Processing (NLP) and analytical methods based on information extraction, pattern recognition, and sentiment analysis.
 7. The method as claimed in claim 1, wherein the text message is displayed during call ringing when the call priority is determined to be high, the text message is not displayed during call ringing when the call priority is determined to be low, and the text message for an unanswered call is used to alert callee later when the call priority is determined to be medium.
 8. A called communication device for displaying a text message, the called communication device comprising: a processor; and a memory communicatively coupled to the processor, wherein the memory stores processor-executable instructions, which, on execution, causes the processor to: receive the text message and call correlation information over a Session Initiation Protocol (SIP) session for a voice call during call ringing of the voice call, wherein the text message and the call correlation information are received in a SIP INFO request when a callee associated with the called communication device does not answer the voice call after a predefined number of call rings, wherein the text message indicates a reason about the voice call; and wherein the call correlation information comprises is used to associate the text message with the voice call; perform text mining of the text message received during the voice call using Natural Language Processing (NLP) techniques based on pre-defined-keyword; determine a call priority of the voice call based on text mining of the text message received from the calling communication device, during call ringing for the voice call; and display the text message along with a call ringing notification of the voice call during the SIP session based on the call priority of the voice call and the call correlation information.
 9. The called communication device as claimed in claim 8, wherein the SIP INFO request comprises a call-reason feature tag.
 10. The called communication device as claimed in claim 8, wherein the text message is received in a Session Description Protocol (SDP) body of a SIP INFO request body.
 11. The called communication device as claimed in claim 8, further comprising storing the text message in the memory.
 12. The called communication device as claimed in claim 8, wherein the Call Correlation Information further comprises one of: an unique identifier of a calling communication device, an unique identifier of a called communication device, and or an unique identifier for identifying a Packet Switched (PS) call transaction.
 13. A non-transitory computer-readable storage medium having stored thereon, a set of computer-executable instructions for causing a called communication device comprising one or more processors to perform steps comprising: receiving a text message and call correlation information over a Session Initiation Protocol (SIP) session for a voice call during call ringing of the voice call, wherein the text message and the call correlation information are received in a SIP INFO request when a callee associated with the called communication device does not answer the voice call after a predefined number of call rings, wherein the text message indicates a reason about the voice call; and wherein the call correlation information is used to associate the text message with the voice call; performing text mining of the text message received during the voice call using Natural Language Processing (NLP) techniques based on pre-defined keyword, determining a call priority of the voice call based on text mining of the text message received from the calling communication device, during call ringing for the voice call; and displaying the text message along with a call ringing notification of the voice call on the called communication device during the SIP session based on the call priority of the voice call and the call correlation information.
 14. The non-transitory computer-readable storage medium of claim 13, wherein the text message is received in a Session Description Protocol (SDP) body of a SIP INFO request body.
 15. The non-transitory computer-readable storage medium of claim 13, wherein the Call Correlation Information further comprises one of: an unique identifier of a calling communication device, an unique identifier of a called communication device, and an unique identifier for identifying a Packet Switched (PS) call transaction or the text message. 